//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _PDBSeqRes_h__
#define	_PDBSeqRes_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "SeqResRecord.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class PDBSeqRes {
  
  private:
    
    String*                 name;
    TListE <SeqResRecord>*  records;
    
    String*                 toString;
    
  protected:
    
    void                    CleanData (void);
    
  public:
    
    PDBSeqRes ();
    PDBSeqRes (const PDBSeqRes&);
    PDBSeqRes (const PDBSeqRes*);
    
    ~PDBSeqRes ();
    
    void                    Name (String*);
    void                    Records (TListE <SeqResRecord>*);
    
    String*                 Name (void);
    TListE <SeqResRecord>*  Records (void);
    
    bool                    ReadData (String*);
    bool                    ReadData (char*);
    
    String*                 ToString (void);
    String*                 ToStringSequence (void);
    
    PDBSeqRes               operator= (const PDBSeqRes&);

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//